﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace EasyUIMvc
{
    public class CalendarExtension : ExtensionBase
    {
        private readonly CalendarSettings _settings;

        public CalendarExtension(CalendarSettings settings)
        {
            this._settings = settings;
        }

        public override string GetScripts()
        {
            throw new NotImplementedException();
        }

        public override MvcHtmlString GetHtml()
        {
            var calendar = GetTopTag("div", "easyui-calendar", _settings);
            return MvcHtmlString.Create(calendar.ToString());

        }
    }
    public class CalendarSettings : SettingsBase
    {

    }
}
